ActionController::Routing::Routes.draw do |map|
  map.resources :paymethods
  map.resources :bets
  map.resources :countries
  map.resources :participants
  map.resources :eventparticipants
  map.resources :events
  map.resources :categories
  map.resources :users, :collection => { :forgot_password => [:get, :post]}
  map.resources :rest
  #Redireciona al HOME dentro dell layaout principal  
  map.connect '', :controller => "home", :action => "index"
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end
